System
# List System Operation Logs
# Request
GET /openapi/system/operation
1
# Query
| Parameter Name | Type | Description | Required |
|---|---|---|---|
| searchType | string | Search type, optional values:all: allproject: projectuser: userfunction: functionstatus: status code | Yes |
| projectKey | string | Project key | No |
| username | string | Username | No |
| function | string | Function | No |
| status | int | Status code | No |
| perPage | int | Items per page | Yes |
| page | int | Page number | Yes |
# Response
{
"operation_logs": [
{
"username": "admin", // Username
"project_key": "yaml", // Project key
"method": "Update", // Operation
"function": "Custom Workflow", // Function
"scene": "", // Scene
"targets": [], // When scene is environment, targets is a list of environment names
"detail": "dingdingshenpi", // Detail
"request_body": ".....", // Value omitted, request_body type may be json or yaml
"body_type": "yaml", // body_type has three values: "", "json", "yaml"; old data may be empty
"status": 200, // Status code
"created_at": 1744360992 // Creation time
},
{
"username": "admin",
"project_key": "yaml",
"method": "Create",
"function": "Custom Workflow Task",
"scene": "",
"targets": [],
"detail": "dingdingshenpi",
"request_body": ".....",
"body_type": "json",
"status": 200,
"created_at": 1744360968
},
{
"username": "admin",
"project_key": "yaml",
"method": "Update",
"function": "Custom Workflow",
"scene": "",
"targets": [],
"detail": "dingdingshenpi",
"request_body": ".....",
"body_type": "yaml",
"status": 200,
"created_at": 1744360964
}
],
"total": 107116
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# List Environment Operation Logs
# Request
GET /openapi/system/operation/env
1
# Query
| Parameter Name | Type | Description | Required |
|---|---|---|---|
| projectKey | string | Project key | Yes |
| envName | string | Environment name | Yes |
| searchType | string | Search type, optional values:all: alluser: userfunction: functionstatus: status codedetail: detail | Yes |
| username | string | Username | No |
| function | string | Function | No |
| status | int | Status code | No |
| detail | string | Detail | No |
| perPage | int | Items per page | Yes |
| page | int | Page number | Yes |
# Response
{
"operation_logs": [
{
"username": "admin", // Username
"project_key": "yaml", // Project key
"method": "Update", // Operation
"function": "Custom Workflow", // Function
"scene": "", // Scene
"targets": [], // When scene is environment, targets is a list of environment names
"detail": "dingdingshenpi", // Detail
"request_body": ".....", // Value omitted, request_body type may be json or yaml
"body_type": "yaml", // body_type has three values: "", "json", "yaml"; old data may be empty
"status": 200, // Status code
"created_at": 1744360992 // Creation time
},
{
"username": "admin",
"project_key": "yaml",
"method": "Create",
"function": "Custom Workflow Task",
"scene": "",
"targets": [],
"detail": "dingdingshenpi",
"request_body": ".....",
"body_type": "json",
"status": 200,
"created_at": 1744360968
},
{
"username": "admin",
"project_key": "yaml",
"method": "Update",
"function": "Custom Workflow",
"scene": "",
"targets": [],
"detail": "dingdingshenpi",
"request_body": ".....",
"body_type": "yaml",
"status": 200,
"created_at": 1744360964
}
],
"total": 107116
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44


